package cc.ycws.core.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import com.alibaba.fastjson.annotation.JSONField;

/**
  * <p>
  * 物业表
  * </p>
  *
  * @author tutu
  * @since 2018-05-22
  */
@TableName("mdm_property")
public class MdmProperty implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 物业编号
     */
    @TableField("property_no")
    private String propertyNo;

    /**
     * 物业名称
     */
    @TableField("property_name")
    private String propertyName;

    /**
     * 物业的公众号
     */
    @TableField("property_wx_id")
    private String propertyWxId;

    /**
     * 海纳系统中的物业id(用此访问海纳系统)
     */
    @TableField("hn_property_id")
    private String hnPropertyId;

    /**
     * 建档人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String creator;

    /**
     * 建档时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time", fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String modifier;

    /**
     * 修改时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    private Date modifyTime;

    /**
     * 备注
     */
    private String remarks;

    public Integer getId() {
    return id;
    }

    public void setId(Integer id) {
    this.id = id;
    }
    public String getPropertyNo() {
    return propertyNo;
    }

    public void setPropertyNo(String propertyNo) {
    this.propertyNo = propertyNo;
    }
    public String getPropertyName() {
    return propertyName;
    }

    public void setPropertyName(String propertyName) {
    this.propertyName = propertyName;
    }
    public String getPropertyWxId() {
    return propertyWxId;
    }

    public void setPropertyWxId(String propertyWxId) {
    this.propertyWxId = propertyWxId;
    }
    public String getHnPropertyId() {
    return hnPropertyId;
    }

    public void setHnPropertyId(String hnPropertyId) {
    this.hnPropertyId = hnPropertyId;
    }
    public String getCreator() {
    return creator;
    }

    public void setCreator(String creator) {
    this.creator = creator;
    }
    public Date getCreateTime() {
    return createTime;
    }

    public void setCreateTime(Date createTime) {
    this.createTime = createTime;
    }
    public String getModifier() {
    return modifier;
    }

    public void setModifier(String modifier) {
    this.modifier = modifier;
    }
    public Date getModifyTime() {
    return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
    this.modifyTime = modifyTime;
    }
    public String getRemarks() {
    return remarks;
    }

    public void setRemarks(String remarks) {
    this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "MdmProperty{" +
                "id=" + id +
                ", propertyNo=" + propertyNo +
                ", propertyName=" + propertyName +
                ", propertyWxId=" + propertyWxId +
                ", hnPropertyId=" + hnPropertyId +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", modifier=" + modifier +
                ", modifyTime=" + modifyTime +
                ", remarks=" + remarks +
        "}";
    }
}
